﻿<!DOCTYPE html>
<html>
<head>
    <title>锐浪HTML5报表演示 - 起步例子</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <script src="../grhtml5-6.5-min.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        function window_onload() {
            //创建报表显示器，参数指定其在网页中的占位标签的ID，关联的报表模板URL，关联的报表数据URL
            var reportViewer = rubylong.grhtml5.insertReportViewer("report_holder", "../../grf/1a.grf", "../../data/DataCenter.jsp?data=Customer");

            reportViewer.start(); //启动报表运行，生成报表
        }
    </script>
    <!--<style>
        .tool_btn {border:solid 1px}
    </style>-->
</head>
<body onload="window_onload()">
    <div id="toolbar">
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=pdf&open=attachment"><img src="../../images/toolbar/tb_pdf.png" alt="PDF" /></a>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=xls&open=attachment"><img src="../../images/toolbar/tb_xls.png" alt="Excel" /></a>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=rtf&open=attachment"><img src="../../images/toolbar/tb_rtf.png" alt="RTF" /></a>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=csv&open=attachment"><img src="../../images/toolbar/tb_csv.png" alt="CSV" /></a>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=txt&open=attachment"><img src="../../images/toolbar/tb_txt.png" alt="文本" /></a>
        <span style="margin-left:12px;"></span>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=img&open=inline" target="_blank"><img src="../../images/toolbar/tb_img.png" alt="图像" /></a>
        <span style="margin-left:12px;"></span>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=grp&open=attachment"><img src="../../images/toolbar/tb_grp.png" alt="报表打印文档" /></a>
        <a href="../../server/general/SimpleReport.jsp?report=1a&data=Customer&type=grd&open=attachment"><img src="../../images/toolbar/tb_grd.png" alt="报表查看文档" /></a>
    </div>

    <div id="report_holder">HTML5报表占位标签
    </div>
</body>
</html>